package com.lab.es.demo.common;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ResPaging implements Serializable {
	private static final long serialVersionUID = 1L;

	@JSONField(ordinal = 1)
	private List<?> records;

	@JSONField(ordinal = 2)
	private Integer pageSize;

	@JSONField(ordinal = 3)
	private Integer pageNo;

	@JSONField(ordinal = 4)
	private Integer total;

	@JSONField(ordinal = 5)
	private Integer pageCount;

	@JSONField(ordinal = 6)
	private String prevPage;

	@JSONField(ordinal = 7)
	private String nextPage;
}
